import request from '@/utils/request'

// 列表
export function list(query) {
	return request({
		url: '/api/productionBases',
		method: 'get',
		params: query
	})
}

// 详情
export function detail(query) {
	return request({
		url: '/api/productionBases/'+query.id,
		method: 'get'
	})
}